package com.gitee.xmhzzz.component.rocketmq;

import com.gitee.xmhzzz.component.rocketmq.support.RocketMQAsynTraceAopService;
import com.gitee.xmhzzz.component.rocketmq.support.RocketMqTraceListener;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *
 */
@Configuration
public class RocketMQConfiguration {

    @Bean
    public RocketMqTraceListener rocketMqTraceListener(
    ){
        RocketMqTraceListener rocketMqTraceListener = new RocketMqTraceListener();
        return rocketMqTraceListener;
    }

    @Bean
    public RocketMQAsynTraceAopService rocketMQAsynTraceAopService(
    ){
        RocketMQAsynTraceAopService rocketMQAsynTraceAopService = new RocketMQAsynTraceAopService();
        return rocketMQAsynTraceAopService;
    }
}
